Skip to content

Removed obsolete Extra-Content-Type header. - #3143

Merged
laurit merged 1 commit into
signalfx:mainfrom
robsunday:Extra-Content-Type_header_cleanup
Oct 23, 2026
Merged

laurit merged 1 commit into
signalfx:mainfrom
robsunday:Extra-Content-Type_header_cleanup

Conversation

@robsunday

Copy link
Copy Markdown
Contributor

In review of PR 3135 codex detected thatExtra-Content-Type header is set for env-vars config, but not for declarative config in log exporter setup.
Investigations proved that Extra-Content-Type is no longer in use and should be removed.

Refactored creating of log exporter for declarative config
@robsunday
robsunday requested review from a team as code owners October 23, 2026 10:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T10:15:32.417453Z 7f059a8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Set<String> propertyKeys = exporterConfigProperties.getPropertyKeys();
if (propertyKeys.isEmpty()) {
DeclarativeConfigProperties otlpHttp = defaultOtlpHttpConfig(exporterConfigProperties);
OtlpHttpLogRecordExporterComponentProvider provider =

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] Using OtlpHttpLogRecordExporterComponentProvider was shorter, but actually an awkward solution. I decided to replace it with use OtlpDeclarativeConfigUtil class instead. This is also more aligned with env-vars config approach.

@robsunday robsunday changed the title Removed unused header. Removed obsolete Extra-Content-Type header. Oct 23, 2026
@laurit
laurit merged commit 58124b5 into signalfx:main Oct 23, 2026
29 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants